package com.cwj.fron.start;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication(scanBasePackages = "com.cwj")
@MapperScan(basePackages = "com.cwj.common.dao")
public class StartApplication {

    public static void main(String[] args) {

        ConfigurableApplicationContext run = SpringApplication.run(StartApplication.class, args);
        String[] names = run.getBeanDefinitionNames();
        for (String name : names) {
//            System.out.println(name);
        }
    }

}
